Skip to content
This repository has been archived by the owner on Nov 13, 2020. It is now read-only.

python runtime support, fixes #8 #13

Closed

Conversation

metakermit
Copy link

This is my attempt to solve #8 , as I need to run a Python 3 scientific app. I managed to do the deployment steps with my app, so I think it goes in the right direction, but it's not done yet. I'm still experiencing application errors due to gunicorn not being found. Maybe I need to source the condanev somewhere else as well?

@scribu
Copy link

scribu commented Oct 25, 2015

Hi, I'm getting an error related to condaenv:

Total 0 (delta 0), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Python/Conda app detected
remote: -----> Installing dependencies using Conda
remote: Error: could not find environment: condaenv
remote:
remote:  !     Push rejected, failed to compile Python/Conda app

runtime.txt:

python-3.5.0

conda-requirements.txt:

numpy
scipy

Is there anything else I need to do besides changing the buildpack URL?

The original conda-buildpack deploys fine (except for using Python 2.7).

@icoxfog417
Copy link

@scribu You have to add some dependencies to conda-requirements.txt when running on Python3 (please see #14).

conda
conda-env
requests

The below is my repository that succeeded to deploy to Heroku.

https://github.com/icoxfog417/number_recognizer

@icoxfog417
Copy link

I made the fork to support Python3. I confirmed this works fine on my application.

implementation

@metakermit metakermit closed this Apr 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants